﻿using System.Linq;
using System.Web.Mvc;
using ClubManager.DAL;

namespace ClubManager.Controllers
{
    public class HomeController : Controller
    {
        private ClubDb _db;

        public HomeController()
        {
            _db = new ClubDb();
            ViewBag.Club = _db.Clubs.First();
        }
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
